#include"CRectangle.h"
double Rectangle::getArea() const{
	return width*height;
}
double Rectangle::getWidth() const{
	return width;
}
double Rectangle::getWidth() const{
	this->width = width;
}
double Rectangle::getHeight() const{
	return height;
}
double Rectangle::getHeight() const{
	this->height = height;
}
const Rectangle & Rectangle::operator--(){
	--width;
	--height;
	return*this;
}